using System;
using System.Collections.Generic;
using System.Text;

namespace DLL.Essences
{
    public class AddingPrice
    {
        int id;
        int priceConditionId;
        int priceGroupId;
        double addingPrice;
        int contrPrice;
        DateTime date;
        int userId;

        public AddingPrice()
        {

        }

        public AddingPrice(int id,int priceConditionId,int priceGroupId, double addingPrice, int contrPrice, DateTime date,int userId)
        {
            this.id=id;
            this.priceConditionId = priceConditionId;
            this.priceGroupId = priceGroupId;
            this.addingPrice = addingPrice;
            this.contrPrice = contrPrice;
            this.date = date;
            this.userId = userId;
        }

        public int ID
        {
            get
            {
                return id;
            }
            set
            {
                id = value;
            }
        }

        public int PriceConditionId
        {
            get
            {
                return priceConditionId;
            }
            set
            {
                priceConditionId = value;
            }
        }

        public int PriceGroupId
        {
            get
            {
                return priceGroupId;
            }
            set
            {
                priceGroupId = value;
            }
        }

        public double Addingprice
        {
            get
            {
                return addingPrice;
            }
            set
            {
                addingPrice = value;
            }
        }

        public int ContrPrice
        {
            get
            {
                return contrPrice;
            }
            set
            {
                contrPrice = value;
            }
        }

        public DateTime Date
        {
            get
            {
                return date;
            }
            set
            {
                date = value;
            }
        }

        public int UserId
        {
            get
            {
                return userId;
            }
            set
            {
                userId = value;
            }
        }       
    }    
}
